package com.project.bean;

/**
 * 城市实体类
 */
public class CityBean {
//    城市id
    private Integer id;
//    城市名
    private String cityName;
//    国家对象
    private CountryBean countryBean;
    public CityBean (){

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public CountryBean getCountryBean() {
        return countryBean;
    }

    public void setCountryBean(CountryBean countryBean) {
        this.countryBean = countryBean;
    }

    @Override
    public String toString() {
        return "CityBean{" +
                "id=" + id +
                ", cityName='" + cityName + '\'' +
                ", countryBean=" + countryBean +
                '}';
    }
}
